package com.ruoyi.statisticalCenter.enums;

/**
 * 结算类型
 *
 * @author ruoyi
 */
public enum ScOutReturnSheetEnum {
    //    0-0.5kg分档返利
    zeroToHalfKgShipments("zeroToHalfKgShipments", "发件数"),
    zeroToHalfKgPercentage("zeroToHalfKgPercentage", "占比"),
    zeroToHalfKgEliminateNum("zeroToHalfKgEliminateNum", "剔除票数"),
    zeroToHalfKgPolicyQualified("zeroToHalfKgPolicyQualified", "符合政策票数"),
    zeroToHalfKgRebateStandard("zeroToHalfKgRebateStandard", "返利标准"),
    zeroToHalfKgAmount("zeroToHalfKgAmount", "金额"),

    //0.5-1kg分档返利
    halfTo1KgShipments("halfTo1KgShipments", "发件数"),
    halfTo1KgPercentage("halfTo1KgPercentage", "占比"),
    halfTo1KgEliminateNum("halfTo1KgEliminateNum", "剔除票数"),
    halfTo1KgPolicyQualified("halfTo1KgPolicyQualified", "符合政策票数"),
    halfTo1KgRebateStandard("halfTo1KgRebateStandard", "返利标准"),
    halfTo1KgAmount("halfTo1KgAmount", "金额"),

    //1-3kg分档返利
    oneTo3KgShipments("oneTo3KgShipments", "发件数"),
    oneTo3KgPercentage("oneTo3KgPercentage", "占比"),
    oneTo3KgEliminateNum("oneTo3KgEliminateNum", "剔除票数"),
    oneTo3KgPolicyQualified("oneTo3KgPolicyQualified", "符合政策票数"),
    oneTo3KgRebateStandard("oneTo3KgRebateStandard", "返利标准"),
    oneTo3KgAmount("oneTo3KgAmount", "金额"),

    // 3-10kg分档返利
    threeToTenKgShipments("threeToTenKgShipments", "发件数"),
    threeToTenKgPercentage("threeToTenKgPercentage", "占比"),
    threeToTenKgEliminateNum("threeToTenKgEliminateNum", "剔除票数"),
    threeToTenKgPolicyQualified("threeToTenKgPolicyQualified", "符合政策票数"),
    threeToTenKgRebateStandard("threeToTenKgRebateStandard", "返利标准"),
    threeToTenKgAmount("threeToTenKgAmount", "金额"),

    //10-399kg分档返利
    tenTo399KgShipments("tenTo399KgShipments", "发件数"),
    tenTo399KgPercentage("tenTo399KgPercentage", "占比"),
    tenTo399KgRebateStandard("tenTo399KgRebateStandard", "返利标准"),
    tenTo399KgAmount("tenTo399KgAmount", "金额"),

    //    叠加返利1-3kg
    xOverlayPolicyOneTo3KgShipments("xOverlayPolicyOneTo3KgShipments", "发件数"),
    xOverlayPolicyOneTo3KgBase("xOverlayPolicyOneTo3KgBase", "日基数"),
    xOverlayPolicyOneTo3KgPolicyQualified("xOverlayPolicyOneTo3KgPolicyQualified", "剔除票数"),
    xOverlayPolicyOneTo3KgRebateStandard("xOverlayPolicyOneTo3KgRebateStandard", "符合政策票数"),
    xOverlayPolicyOneTo3KgPercentage("xOverlayPolicyOneTo3KgPercentage", "返利标准"),
    xOverlayPolicyOneTo3KgAmount("xOverlayPolicyOneTo3KgAmount", "金额"),

    //  增量返利0-1kg
    incrementalRebate0To1KgShipmentCount("incrementalRebate0To1KgShipmentCount", "发件数"),
    incrementalRebate0To1KgDailyBasis("incrementalRebate0To1KgDailyBasis", "日基数"),
    incrementalRebate0To1KgExcludeTickets("incrementalRebate0To1KgExcludeTickets", "剔除票数"),
    incrementalRebate0To1KgPolicyCompliantTickets("incrementalRebate0To1KgPolicyCompliantTickets", "符合政策票数"),
    incrementalRebate0To1KgRebateStandard("incrementalRebate0To1KgRebateStandard", "返利标准"),
    incrementalRebate0To1KgAmount("incrementalRebate0To1KgAmount", "金额"),

    //0-2kg叠加返利
    cumulativeRebate0To2KgShipmentCount("cumulativeRebate0To2KgShipmentCount", "发件数"),
    cumulativeRebate0To2KgDailyBasis("cumulativeRebate0To2KgDailyBasis", "日基数"),
    cumulativeRebate0To2KgExcludeTickets("cumulativeRebate0To2KgExcludeTickets", "剔除票数"),
    cumulativeRebate0To2KgPolicyCompliantTickets("cumulativeRebate0To2KgPolicyCompliantTickets", "符合政策票数"),
    cumulativeRebate0To2KgRebateStandard("cumulativeRebate0To2KgRebateStandard", "返利标准"),
    cumulativeRebate0To2KgAmount("cumulativeRebate0To2KgAmount", "金额"),

    //    0-1kg阶梯考核
    tieredAssessment0To1KgShipmentCount("tieredAssessment0To1KgShipmentCount", "发件数"),
    tieredAssessment0To1KgDailyVolume("tieredAssessment0To1KgDailyVolume", "日业务量"),
    tieredAssessment0To1KgAssessedVolume("tieredAssessment0To1KgAssessedVolume", "考核业务量"),
    tieredAssessment0To1KgInsufficientVolume("tieredAssessment0To1KgInsufficientVolume", "不足业务量"),
    tieredAssessment0To1KgAssessmentStandard("tieredAssessment0To1KgAssessmentStandard", "考核标准"),
    tieredAssessment0To1KgAmount("tieredAssessment0To1KgAmount", "金额"),

    // 0-999kg业务考核
    businessAssessment0To999KgShipmentCount("businessAssessment0To999KgShipmentCount","发件数"),
    businessAssessment0To999KgDailyVolume("businessAssessment0To999KgDailyVolume","日业务量"),
    businessAssessment0To999KgAssessedVolume("businessAssessment0To999KgAssessedVolume","考核业务量"),
    businessAssessment0To999KgInsufficientVolume("businessAssessment0To999KgInsufficientVolume","不足业务量"),
    businessAssessment0To999KgAssessmentStandard("businessAssessment0To999KgAssessmentStandard","考核标准"),
    businessAssessment0To999KgAmount("businessAssessment0To999KgAmount","金额"),

    //1-3kg一客一价返利
    oneToThreeKgRebateShipmentCountReceipt("oneToThreeKgRebateShipmentCountReceipt","发件数"),
    oneToThreeKgRebateDailyVolumeReceipt("oneToThreeKgRebateDailyVolumeReceipt","日业务量"),
    oneToThreeKgRebateAssessedVolumeReceipt("oneToThreeKgRebateAssessedVolumeReceipt","考核业务量"),
    oneToThreeKgRebateRebateVolumeReceipt("oneToThreeKgRebateRebateVolumeReceipt","返利业务量"),
    oneToThreeKgRebateRebateStandardReceipt("oneToThreeKgRebateRebateStandardReceipt","返利标准"),
    oneToThreeKgRebateAmountReceipt("oneToThreeKgRebateAmountReceipt","一客一价金额"),

    // 0-0.5kg超基数返利
    zeroToHalfKgExceedBasePolicyQualified("zeroToHalfKgExceedBasePolicyQualified","符合政策票"),
    zeroToHalfKgExceedBasePolicyBase("zeroToHalfKgExceedBasePolicyBase","基数"),
    zeroToHalfKgExceedBasePolicyDifference("zeroToHalfKgExceedBasePolicyDifference","返利票数"),
    zeroToHalfKgExceedBasePolicyRebateStandard("zeroToHalfKgExceedBasePolicyRebateStandard","返利标准"),
    zeroToHalfKgExceedBasePolicyRebate("zeroToHalfKgExceedBasePolicyRebate","返利"),
    zeroToHalfKgExceedBasePolicyGrossProfit("zeroToHalfKgExceedBasePolicyGrossProfit","毛利"),

    // 0.5-1kg超基数返利
    halfTo1KgExceedBasePolicyQualified("halfTo1KgExceedBasePolicyQualified","符合政策票"),
    halfTo1KgExceedBasePolicyBase("halfTo1KgExceedBasePolicyBase","基数"),
    halfTo1KgExceedBasePolicyDifference("halfTo1KgExceedBasePolicyDifference","差额"),
    halfTo1KgExceedBasePolicyRebateStandard("halfTo1KgExceedBasePolicyRebateStandard","返利标准"),
    halfTo1KgExceedBasePolicyRebate("halfTo1KgExceedBasePolicyRebate","返利"),
    halfTo1KgExceedBasePolicyGrossProfit("halfTo1KgExceedBasePolicyGrossProfit","毛利"),

    //1-3kg分档返利
    oneTo3KgRebatePolicyQualified("oneTo3KgRebatePolicyQualified","符合政策票"),
    oneTo3KgRebatePolicyRebateStandard("oneTo3KgRebatePolicyRebateStandard","返利标准"),
    oneTo3KgRebatePolicyRebate("oneTo3KgRebatePolicyRebate","返利"),
    oneTo3KgRebatePolicyGrossProfit("oneTo3KgRebatePolicyGrossProfit","毛利"),

    // 3-999kg分档返利
    threeTo999KgRebatePolicyQualified("threeTo999KgRebatePolicyQualified","符合政策票"),
    threeTo999KgRebatePolicyRebateStandard("threeTo999KgRebatePolicyRebateStandard","返利标准"),
    threeTo999KgRebatePolicyRebate("threeTo999KgRebatePolicyRebate","返利"),
    threeTo999KgRebatePolicyGrossProfit("threeTo999KgRebatePolicyGrossProfit","毛利"),

    //1-3kg叠加返利
    oneToThreeKgAdditiveRebateCompliantTickets("oneToThreeKgAdditiveRebateCompliantTickets","符合政策票数"),
    oneToThreeKgAdditiveRebateStandard("oneToThreeKgAdditiveRebateStandard","返利标准"),
    oneToThreeKgAdditiveRebate("oneToThreeKgAdditiveRebate","返利"),
    oneToThreeKgAdditiveGrossProfit("oneToThreeKgAdditiveGrossProfit","毛利"),

    // 0-2kg叠加返利
    zeroToTwoKgAdditiveRebateCompliantTickets("zeroToTwoKgAdditiveRebateCompliantTickets","符合政策票数"),
    zeroToTwoKgAdditiveRebateStandard("zeroToTwoKgAdditiveRebateStandard","返利标准"),
    zeroToTwoKgAdditiveRebate("zeroToTwoKgAdditiveRebate","返利"),
    zeroToTwoKgAdditiveGrossProfit("zeroToTwoKgAdditiveGrossProfit","毛利"),

    //1-3kg一客一价返利
    oneToThreeKgRebateShipmentCount("oneToThreeKgRebateShipmentCount","发件数"),
    oneToThreeKgRebateDailyVolume("oneToThreeKgRebateDailyVolume","日业务量"),
    oneToThreeKgRebateAssessedVolume("oneToThreeKgRebateRebateVolume","考核业务量"),
    oneToThreeKgRebateRebateVolume("oneToThreeKgRebateRebateVolume","返利业务量"),
    oneToThreeKgRebateRebateStandard("oneToThreeKgRebateRebateStandard","返利标准"),
    oneToThreeKgRebateRebate("oneToThreeKgRebateRebate","返利"),
    oneToThreeKgRebateGrossProfit("oneToThreeKgRebateGrossProfit","毛利");




    private final String code;
    private final String info;

    ScOutReturnSheetEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public static String getValue(String code) {
        if (code == null) {
            return "";
        }
        for (ScOutReturnSheetEnum value : ScOutReturnSheetEnum.values()) {
            if (value.code.equals(code)) {
                return value.info;
            }
        }
        return "";
    }
}
